import { createApp } from 'vue'
import App from './App.vue'
import routes from "./router/route.js";
import {createRouter, createWebHistory} from 'vue-router';
//导入第三方UI组件组件库-VantUI
import Vant from 'vant';
import 'vant/lib/index.css';
import pinia from './stores/index';
import store from './stores'

const router = createRouter({
    history: createWebHistory(),
    routes,
});

let app=createApp(App)
app.use(router);
app.use(Vant);
// 安装 Pinia
app.use(pinia);
app.use(store);

app.mount('#app')
